[INFO] cloning repository https://github.com/ProCynic/hello-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ProCynic/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProCynic%2Fhello-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProCynic%2Fhello-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c765f4a5be06a6192d02bb7f1a1e45489585f028
[INFO] testing ProCynic/hello-rust against try#46592174fb13958bb9a2aa0d7af6c1224e1d7143 for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProCynic%2Fhello-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ProCynic/hello-rust on toolchain 46592174fb13958bb9a2aa0d7af6c1224e1d7143
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ProCynic/hello-rust
[INFO] finished tweaking git repo https://github.com/ProCynic/hello-rust
[INFO] tweaked toml for git repo https://github.com/ProCynic/hello-rust written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/ProCynic/hello-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded postgres-protocol v0.6.1
[INFO] [stderr]   Downloaded md-5 v0.9.1
[INFO] [stderr]   Downloaded crypto-mac v0.10.0
[INFO] [stderr]   Downloaded hmac v0.10.1
[INFO] [stderr]   Downloaded sha2 v0.9.3
[INFO] [stderr]   Downloaded tokio-postgres v0.7.2
[INFO] [stderr]   Downloaded postgres-types v0.2.1
[INFO] [stderr]   Downloaded postgres v0.19.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 885253a8fd1724e17014fad21f55a66dad4db44c369bceee8800900a9212258c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "885253a8fd1724e17014fad21f55a66dad4db44c369bceee8800900a9212258c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "885253a8fd1724e17014fad21f55a66dad4db44c369bceee8800900a9212258c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "885253a8fd1724e17014fad21f55a66dad4db44c369bceee8800900a9212258c", kill_on_drop: false }`
[INFO] [stdout] 885253a8fd1724e17014fad21f55a66dad4db44c369bceee8800900a9212258c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+46592174fb13958bb9a2aa0d7af6c1224e1d7143" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 650903e80032f50ef65036b00d1bbe4e14b72d1435fb5ad887790b76b474a509
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "650903e80032f50ef65036b00d1bbe4e14b72d1435fb5ad887790b76b474a509", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling futures-core v0.3.14
[INFO] [stderr]    Compiling futures-sink v0.3.14
[INFO] [stderr]    Compiling httparse v1.4.0
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling futures-io v0.3.14
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling futures-task v0.3.14
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling siphasher v0.3.5
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling route-recognizer v0.1.13
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling unsafe-any v0.4.2
[INFO] [stderr]    Compiling tokio v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling futures-channel v0.3.14
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling socket2 v0.4.0
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling mio v0.7.11
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling plugin v0.2.6
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.10.0
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling md-5 v0.9.1
[INFO] [stderr]    Compiling sha2 v0.9.3
[INFO] [stderr]    Compiling postgres-protocol v0.6.1
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling postgres-types v0.2.1
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling tokio-util v0.6.6
[INFO] [stderr]    Compiling iron v0.6.1
[INFO] [stderr]    Compiling persistent v0.4.0
[INFO] [stderr]    Compiling router v0.6.0
[INFO] [stderr]    Compiling bodyparser v0.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.14
[INFO] [stderr]    Compiling futures-util v0.3.14
[INFO] [stderr]    Compiling futures-executor v0.3.14
[INFO] [stderr]    Compiling futures v0.3.14
[INFO] [stderr]    Compiling tokio-postgres v0.7.2
[INFO] [stderr]    Compiling postgres v0.19.1
[INFO] [stderr]    Compiling hello_rust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `self::postgres::Connection`, `self::postgres::SslMode`
[INFO] [stdout]  --> src/models/mod.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use self::postgres::{Connection, SslMode};
[INFO] [stdout]   |                      ^^^^^^^^^^  ^^^^^^^ no `SslMode` in the root
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      no `Connection` in the root
[INFO] [stdout]   |                      help: a similar name exists in the module (notice the capitalization): `connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ConnectError` in this scope
[INFO] [stdout]   --> src/models/mod.rs:11:50
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub trait Model {
[INFO] [stdout]    |                - help: you might be missing a type parameter: `<ConnectError>`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn get_db_connection() -> Result<Connection, ConnectError> {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> src/models/user.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(RustcEncodable, RustcDecodable)]
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]  --> src/models/user.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(RustcEncodable, RustcDecodable)]
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stdout]    --> src/models/mod.rs:9:22
[INFO] [stdout]     |
[INFO] [stdout] 9   |     fn find_one() -> Result<Self, DbError>;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]     |
[INFO] [stdout] 9   |     fn find_one() -> Result<Self, DbError> where Self: Sized;
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time
[INFO] [stdout]    --> src/models/mod.rs:10:18
[INFO] [stdout]     |
[INFO] [stdout] 10  |     fn find() -> Result<Vec<Self>, DbError>;
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout] help: consider further restricting `Self`
[INFO] [stdout]     |
[INFO] [stdout] 10  |     fn find() -> Result<Vec<Self>, DbError> where Self: Sized;
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_rust`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "650903e80032f50ef65036b00d1bbe4e14b72d1435fb5ad887790b76b474a509", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "650903e80032f50ef65036b00d1bbe4e14b72d1435fb5ad887790b76b474a509", kill_on_drop: false }`
[INFO] [stdout] 650903e80032f50ef65036b00d1bbe4e14b72d1435fb5ad887790b76b474a509
